package com.cloud.tsp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.domain.tsp.Command;
import com.cloud.api.domain.tsp.CommandDetail;
import com.cloud.api.domain.tsp.CommandExecHistory;
import com.cloud.api.domain.tsp.QueryIssueHistory;
import com.cloud.mybatis.domain.TableDataInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haohaibo
 * @since 2023-11-30
 */
public interface ICommandExecHistoryService extends IService<CommandExecHistory> {

//    TableDataInfo<CommandExecHistory> selectExecHistory(String id);

    List<Command> getCommandCount(String type);

    TableDataInfo<CommandExecHistory> selectIssueHistory(QueryIssueHistory para);

    CommandExecHistory selectPendingCommand(String vin,String commandId);

    CommandDetail selectCommandExecDetail(String id);
}